package com.thinvent.nj.ais.service.impl;

import com.thinvent.nj.mybatis.service.impl.BaseCURDServiceImpl;
import com.thinvent.nj.ais.entity.Bd;
import com.thinvent.nj.ais.mapper.BdMapper;
import com.thinvent.nj.ais.service.BdService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

/**
* 标点服务实现
* @author administrator
* @date 2018-8-1
*/
@Service
public class BdServiceImpl extends BaseCURDServiceImpl<Bd, String> implements BdService {

@Autowired
private BdMapper bdMapper;


    @Override
    public String insertReturnId(Bd bd) {
        bdMapper.insert(bd);
        return bd.getId();
    }
}
